package com.leoren.run.vo.apiVo;

import java.util.ArrayList;

/**
 * @ClassName DriveRoute
 * @Auther Leoren
 * @Date 2020/1/28 10:53
 * @Desc :
 * @Version v1.0
 **/

public class DriveRoute {

    private Integer distance;
    private Integer time;
    private String policy;
    private Integer tolls;
    private Integer tolls_distance;
    private ArrayList<DriveStep> steps;
    private Integer restriction ;

    @Override
    public String toString() {
        return "DriveRoute{" +
                "distance=" + distance +
                ", time=" + time +
                ", policy='" + policy + '\'' +
                ", tolls=" + tolls +
                ", tolls_distance=" + tolls_distance +
                ", steps=" + steps +
                ", restriction=" + restriction +
                '}';
    }

    public DriveRoute() {
    }

    public DriveRoute(Integer distance, Integer time, String policy, Integer tolls, Integer tolls_distance, ArrayList<DriveStep> steps, Integer restriction) {
        this.distance = distance;
        this.time = time;
        this.policy = policy;
        this.tolls = tolls;
        this.tolls_distance = tolls_distance;
        this.steps = steps;
        this.restriction = restriction;
    }

    public Integer getDistance() {
        return distance;
    }

    public void setDistance(Integer distance) {
        this.distance = distance;
    }

    public Integer getTime() {
        return time;
    }

    public void setTime(Integer time) {
        this.time = time;
    }

    public String getPolicy() {
        return policy;
    }

    public void setPolicy(String policy) {
        this.policy = policy;
    }

    public Integer getTolls() {
        return tolls;
    }

    public void setTolls(Integer tolls) {
        this.tolls = tolls;
    }

    public Integer getTolls_distance() {
        return tolls_distance;
    }

    public void setTolls_distance(Integer tolls_distance) {
        this.tolls_distance = tolls_distance;
    }

    public ArrayList<DriveStep> getSteps() {
        return steps;
    }

    public void setSteps(ArrayList<DriveStep> steps) {
        this.steps = steps;
    }

    public Integer getRestriction() {
        return restriction;
    }

    public void setRestriction(Integer restriction) {
        this.restriction = restriction;
    }
}
